/* eslint-disable import/prefer-default-export */
import request from '@/utils/request';

export async function getList(params) {
  return request('/osApi/rcrdSupp/list', {
    method: 'POST',
    body: params,
  });
}

export async function modifyHandleOk(params) {
  return request('/osApi/rcrdSupp/update', {
    method: 'POST',
    body: params,
  });
}

export async function deleteItem(params) {
  return request('/osApi/rcrdSupp/delete', {
    method: 'POST',
    body: params,
  });
}

export async function handleSubmit(params) {
  return request('/osApi/rcrdSupp/insert', {
    method: 'POST',
    body: params,
  });
}
